package com.cmb.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "t_elearn_approve_history")
public class ApproveHistory extends ElearnBaseEntity {
    /**
     * 审批类型1-课程审批 2-试卷审批
     */
    @Column(name = "approvea_type")
    private String approveaType;

    /**
     * 审批目标id(课程id，试卷id)
     */
    @Column(name = "target_id")
    private String targetId;

    /**
     * 审批时间
     */
    @Column(name = "approve_time")
    private Date approveTime;

    /**
     * 是否删除
     */
    @Column(name = "is_delete")
    private String isDelete;

    /**
     * 创建人id
     */
    @Column(name = "create_id")
    private String createId;

    /**
     * 最后更新人id
     */
    @Column(name = "last_update_id")
    private String lastUpdateId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 获取审批类型1-课程审批 2-试卷审批
     *
     * @return approvea_type - 审批类型1-课程审批 2-试卷审批
     */
    public String getApproveaType() {
        return approveaType;
    }

    /**
     * 设置审批类型1-课程审批 2-试卷审批
     *
     * @param approveaType 审批类型1-课程审批 2-试卷审批
     */
    public void setApproveaType(String approveaType) {
        this.approveaType = approveaType == null ? null : approveaType.trim();
    }

    /**
     * 获取审批目标id(课程id，试卷id)
     *
     * @return target_id - 审批目标id(课程id，试卷id)
     */
    public String getTargetId() {
        return targetId;
    }

    /**
     * 设置审批目标id(课程id，试卷id)
     *
     * @param targetId 审批目标id(课程id，试卷id)
     */
    public void setTargetId(String targetId) {
        this.targetId = targetId == null ? null : targetId.trim();
    }

    /**
     * 获取审批时间
     *
     * @return approve_time - 审批时间
     */
    public Date getApproveTime() {
        return approveTime;
    }

    /**
     * 设置审批时间
     *
     * @param approveTime 审批时间
     */
    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    /**
     * 获取是否删除
     *
     * @return is_delete - 是否删除
     */
    public String getIsDelete() {
        return isDelete;
    }

    /**
     * 设置是否删除
     *
     * @param isDelete 是否删除
     */
    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete == null ? null : isDelete.trim();
    }

    /**
     * 获取创建人id
     *
     * @return create_id - 创建人id
     */
    public String getCreateId() {
        return createId;
    }

    /**
     * 设置创建人id
     *
     * @param createId 创建人id
     */
    public void setCreateId(String createId) {
        this.createId = createId == null ? null : createId.trim();
    }

    /**
     * 获取最后更新人id
     *
     * @return last_update_id - 最后更新人id
     */
    public String getLastUpdateId() {
        return lastUpdateId;
    }

    /**
     * 设置最后更新人id
     *
     * @param lastUpdateId 最后更新人id
     */
    public void setLastUpdateId(String lastUpdateId) {
        this.lastUpdateId = lastUpdateId == null ? null : lastUpdateId.trim();
    }

    /**
     * 获取备注
     *
     * @return remark - 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     *
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}